<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2009 XBRL International. All Rights Reserved. -->
<?xml-stylesheet type="text/xsl" href="../stylesheets/functionDefinition.xsl"?>
<function
  xmlns="http://xbrl.org/2008/function"
  xmlns:reg="http://xbrl.org/2008/registry"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xff="http://www.xbrl.org/2010/function/formula" 
  xmlns:xffe="http://www.xbrl.org/2010/function/formula/error" 
  xmlns:xbrli="http://www.xbrl.org/2003/instance" 
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xsi:schemaLocation="
  http://xbrl.org/2008/registry ../schemas/registry.xsd
  http://xbrl.org/2008/function ../schemas/function.xsd
  ">

  <lastUpdated moment="2011-07-18T22:00:00" />

  <owners>
    <reg:owner id="herm">
       <reg:name>Herm Fischer</reg:name>
      <reg:affiliation>Mark V Systems (formerly UBmatrix)</reg:affiliation>
       <reg:email>fischer@markv.com</reg:email>
       <reg:assumedOwnership moment="2011-07-18T22:00:00" />
    </reg:owner>
  </owners>

  <summary>
    Returns a sequence containing the set of the uncovered dimensional aspects for use in XPath expressions of a consistency assertion, value assertion, formula aspect rule, or generic message XPath expression.  The function is not applicable to variable-set variable evaluation and filter expressions.
  </summary>

  <documentation>
  </documentation>

  <reference xlink:type="simple" xlink:href="http://www.xbrl.org/Specification/XBRL-RECOMMENDATION-2003-12-31+Corrected-Errata-2006-12-18.htm#_Toc156209162">
    XBRL 2.1 Section 4.7.3
  </reference>
  
  <signature name="xff:uncovered-dimensional-aspects">
    <output type="xs:QName*">
      <xhtml:p>
        Returns a sequence of the uncovered dimensional aspects given that the aspect-model
        of the variable-set is dimensional.  This sequence includes the QNames of the uncovered
        dimensions that are aspects of the variable-set evaluation.
      </xhtml:p>
      <xhtml:p>
        For non-dimensional aspects, given the dimensional aspect model, see the function
        xff:uncovered-non-dimensional-aspects.
      </xhtml:p>
      <xhtml:p>
        The order of uncovered aspect dimension QNames is not specified and may not be consistent even for the same fact set.
        (Note: the definition of a set requires that it have distinct members.)
      </xhtml:p>
      <xhtml:p>
        If all dimensional aspects are covered, or there are none, the output is an empty sequence.
      </xhtml:p>
    </output>
  </signature>

  <error code="xffe:invalidFunctionUse">
    <xhtml:p>
      This error MUST be thrown if the this function is referenced in an XPath expression invoked
      in variable-set variable evaluation, such as by a generalVariable or filter XPath expression.
    </xhtml:p>
    <xhtml:p>
      A formula processor MAY detect this error as a static compilation-time error if it this
      function is referenced in variable-set evaluation expressions (by generalVariable or filters).
    </xhtml:p>
    <xhtml:p>
      A formula processor MUST detect this error as a dynamic run-time error if it this
      function is referenced in variable-set evaluation expressions (by generalVariable or filters),
      such as during execution of an XPath or other language implementation of custom functions
      that were invoked dynamically in variable-set evaluation expressions (by generalVariable or filters).
    </xhtml:p>
    <xhtml:p>
      This error MUST be thrown if the this function is referenced in an XPath expression invoked
      in an XPath function related to an existence assertion, including if referenced in an XPath
      expression from generic messages relating to an existence assertion.
    </xhtml:p>
    <xhtml:p>
      This error MUST be thrown if implicit filtering is 'false'.
    </xhtml:p>
  </error>

  <conformanceTest xlink:type="simple" xlink:href="80158 xff.uncovered-dimensional-aspects function testcase.xml"/>

  <revisions>
    <reg:revision on="2011-07-18T22:00:00" by="herm">
      <xhtml:p>
        Defined the function
      </xhtml:p>
    </reg:revision>

  </revisions>

</function>
